"""
@name:08-20
@author:wei
@project_name:上课笔记
"""

def func(i):
    x,y,z = 0,0,1
    while x<i:
        yield z
        y,z = z,y+z
        x+=1
print([j for j in func(10)])
